<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>Title</title>
    <style>
        div {
            margin: 0 auto;
            margin-top: 200px;
            border: 1px solid #666;
            width: 500px;
            height: 300px;
            text-align: center;
        }


        #aPassword {
            margin-top: 30px;
        }

        #aName {
            margin-top: 70px;
        }

        .login {
            width: 50px;
            height: 30px;
            margin-top: 20px;
        }

    </style>
</head>
<body>

    <div>
        <form action="/admin" method="post">
            <input type="hidden" name="method" value="login"/>
            <label for="aName">用户名: </label><input type="text" name="adminName" id="aName" placeholder="请输入用户名"/><br/>
            <label for="aPassword">密&nbsp;&nbsp;&nbsp;&nbsp;码: </label><input type="password" name="password" id="aPassword" placeholder="请输入密码"/><br/>
            <input type="submit" class="login" value="登录"/><br>
            <span style="color: red">${loginFailMsg}</span><br>
        </form>
    </div>
</body>
</html>
